package d4l.ui;

import java.awt.*;
import javax.swing.*;

public class MyToolTip extends JToolTip {

    public MyToolTip() {
        super();
        setBackground(Color.yellow);
        setLayout(new FlowLayout());
        //add(new JButton("Hello"));
    }
    
    @Override
    public void setTipText(String tipText) {
        super.setTipText(tipText);
        //setLayout(new FlowLayout());
        add(new JTextField("yes"));
        setBounds(0, 0, 100, 100);
    }
    
}


